<template>
    <div class="mymonitor_index">
        <Tab />
        <Content v-if="monitorState.activemonitortab == 0"/>
        <Content2 v-if="monitorState.activemonitortab == 1"/>
    </div>
</template>

<script setup>
import Tab from "./Tab.vue";
import Content from "./Content.vue";
import Content2 from "./Content2.vue";

const { monitorStore, monitorState } = inject('MonitorStore')

</script>

<style lang="scss" scoped>
.mymonitor_index {
    width: 226px;
    min-width: 226px;
    border: solid 1px #ebebeb;
    display: flex;
    flex-direction: column;
}
</style>